Skip to content

fix for ObjectCollectionType null#607

Open
matisovaa wants to merge 1 commit intomasterfrom
tmp/11093_fix
Open

fix for ObjectCollectionType null#607
matisovaa wants to merge 1 commit intomasterfrom
tmp/11093_fix

Conversation

@matisovaa
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@KaterynaHonchar KaterynaHonchar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type field in ObjectCollectionType class defines the type of objects which are gathered by this collection. So it shouldn't be ObjectCollectionType itself by default but rather ObjectType.COMPLEX_TYPE
Also i would suggest to refactor getFilterObjectType method so that it returns ObjectType instead of null values. This method is used several times and ObjectType instead of null should be fine for both usages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants